﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Registrar_Cliente.Registrar_Cliente;

namespace Registrar_Cliente
{
    public partial class frmAltaHotel : Form
    {
        HotelWSSoapClient hotelService = new HotelWSSoapClient();


        public frmAltaHotel()
        {
            InitializeComponent();
        }

        private void btnAceptar_Click(object sender, EventArgs e)
        {
            Hotel hotel = new Hotel();
            string respuesta = hotelService.GuardarHotel(hotel);
            MessageBox.Show(respuesta);

            this.Close();
        }

       

      
    }
}
